package com.rf.mapper;

import com.rf.bean.Student;
import com.rf.page.PageBean;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Description
 * @Author rf
 * @Date 2022/4/2
 */

@Component
public interface StudentMapper {

    public int add(Student student);
    public int update(Student student);
    public int delete(int id);
    public Student getById(int id);
    public List<Student> getAll();
    public int getTotalRows();
    public List<Student> getByPage(PageBean<Student> pageBean);

}
